/*

*/

stat
	parent_type = /restricted

	var
		tmp/player/attached

		associated_bar

	set_current(number)

		..(number)

		if(attached && isclient(attached.client) && associated_bar)

			winset(attached, "default.[associated_bar]","value=[bar_safe(number,maximum)]")


	proc
		update()
			set_current(get_current())

